package com.process.service.impl;

import com.process.dao.DemoDao;
import com.process.entity.DemoEntity;
import com.process.service.DemoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created by wang on 15-3-10.
 */
@Service("demoService")
public class DemoServiceImpl implements DemoService {

    @Autowired
    private DemoDao demoDao;

    @Override
    public int getCount(String name) {
        return demoDao.getCount(name);
    }
}
